package ooday02.animal;

public class Animal {
    String name;
    int age;
    String color;
    Animal(){ }


    Animal (String name,int age, String color){
        this.name=name;
        this.age=age;
        this.color=color;
    }
       void drink(){
        System.out.println("大家好,我叫"+name+"今年"+age+"岁,是一只"+color+"色的猫");
       }














}
